package com.macro.mall.dto;

import com.macro.mall.util.example.annotation.EqualTo;
import com.macro.mall.util.example.annotation.IgnoreField;
import com.macro.mall.util.example.annotation.Like;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * device
 *
 * @author
 */
@Data
public class DeviceRequest implements Serializable {
    private Integer id;

    @EqualTo
    private Integer agentId;

    @EqualTo
    private Integer marketId;

    @Like
    private String deviceName;

    @EqualTo
    private String deviceCode;

    @EqualTo
    private Integer deviceStatus;

    @IgnoreField
    private int pageNum;

    @IgnoreField
    private int pageSize;
}